<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}">
<link rel="stylesheet" href="{$base}/css/okute.css" type="text/css" />
<title>Add Place</title>
</head>
<body>
{if isset($errors)}
{foreach from=$errors item=error}
{if isset($error)}<font color="#ff0000">{$error.message}</font><br />{/if}
{/foreach}
{/if}
{if isset($back)}
<a href="{$back}">戻る</a>
{/if}
<a href="">メニュー</a>
<hr />
<form action="{$base}/shelter/confirm" method="post">
<p>都道府県
<select name="prefecture">
<option value=''>選択してください</option>
{html_options options=$prefecture selected=$data.prefecture}
</select>
</p>
<p>地域<input type="text" name="area" value="{if $data.area!="NULL"}{$data.area|escape}{/if}"></p>
<p>市町村名<input type="text" name="city" value="{if $data.city!="NULL"}{$data.city|escape}{/if}"></p>
<p>地区名<input type="text" name="district" value="{if $data.district!="NULL"}{$data.district|escape}{/if}"></p>
<p>避難場所名称<input type="text" name="name" value="{if $data.name!="NULL"}{$data.name|escape}{/if}"></p>
<p>避難人数<input type="text" name="population" value="{if $data.population!="NULL"}{$data.population|escape}{/if}">人</p>
<p>キャパシティ<input type="text" name="capacity" value="{if $data.capacity!="NULL"}{$data.capacity|escape}{/if}">人</p>
<p>ソース<input type="text" name="source" value="{if $data.source!="NULL"}{$data.source|escape}{/if}"></p>
<p>ソース更新日<input type="text" name="source_update_date" value="{if $data.source_update_date!="NULL"}{$data.source_update_date|escape}{/if}"></p>
<p>ソース時間<input type="text" name="source_update_time" value="{if $data.source_update_time!="NULL"}{$data.source_update_time|escape}{/if}"></p>
<p>コメント</p>
<p><textarea name="notes">{if $data.notes!="NULL"}{$data.notes|escape}{/if}</textarea></p>
<p>緯度<input type="text" name="lat" value="{if $data.lat!="NULL"}{$data.lat|escape}{/if}"></p>
<p>経度<input type="text" name="lng" value="{if $data.lng!="NULL"}{$data.lng|escape}{/if}"></p>
<input type="hidden" name="csrf" value="{$csrf}">
<input type="submit" value="送信">
</form>
</body>
</html>
